package paxos;
import java.io.Serializable;

public abstract class Message implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	protected NodeLocationData sender;
	protected NodeLocationData reciever;
	
	public NodeLocationData getSender()
	{
		return sender;
	}

	public void setSender(NodeLocationData sender)
	{
		this.sender = sender;
	}

	public NodeLocationData getReciever()
	{
		return reciever;
	}
	
	public void setReciever(NodeLocationData reciever)
	{
		this.reciever = reciever;
	}
}
